//
// Created by ChenJi on 2021/1/8.
//

#ifndef WARNER_TASTEKE16_H
#define WARNER_TASTEKE16_H

#endif //WARNER_TASTEKE16_H

#include "main.h"

extern UART_HandleTypeDef huart3;
#define NET_STATE HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_12);

__weak void onConnected();

__weak void onDisconnected();

void onRemoteCommandReceived();

uint8_t sendRemoteCommand(uint8_t *data, uint16_t len);

uint8_t isConnected();

void reuqest_time();

void Tas_init();

void update_icon();

uint8_t tas_time_not_synced();

__weak void onServerVerifyDone();

__weak void onServerVerifyFailed();

void sendVerifyPocket();

void verifyTimeSynced();